package com.ryskoo.common.dto.permission;

import com.ryskoo.common.dto.BasicDTO;

import java.util.ArrayList;
import java.util.List;

public class DeptDTO extends BasicDTO{

    private static final long serialVersionUID = 158929720347290490L;

    private String name;

    private String parentID;

    private List<DeptDTO> childrens = new ArrayList<DeptDTO>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentID() {
        return parentID;
    }

    public void setParentID(String parentID) {
        this.parentID = parentID;
    }

    public List<DeptDTO> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<DeptDTO> childrens) {
        this.childrens = childrens;
    }
}